package de.szut.bomberman.logic.field;

import de.szut.util.ExtendedArray;

public class Line {
	private ExtendedArray<Box> boxes;
	
	public Line() {
		boxes = new ExtendedArray<Box>(Field.LENGTH);
	}

	public void setBox(Box box, int index) {
		boxes.set(box, index);
	}

	public void addBox(Box box) {
		boxes.add(box);
	}

	public ExtendedArray<Box> getBoxes() {
		return boxes;
	}

	public void setBoxes(ExtendedArray<Box> boxes) {
		this.boxes = boxes;
	}
}
